﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A2D RID: 2605
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LeaveRaidScRsp : IMessage<LeaveRaidScRsp>, IMessage, IEquatable<LeaveRaidScRsp>, IDeepCloneable<LeaveRaidScRsp>, IBufferMessage
	{
		// Token: 0x170020E4 RID: 8420
		// (get) Token: 0x060074A5 RID: 29861 RVA: 0x001377C8 File Offset: 0x001359C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LeaveRaidScRsp> Parser
		{
			get
			{
				return LeaveRaidScRsp._parser;
			}
		}

		// Token: 0x170020E5 RID: 8421
		// (get) Token: 0x060074A6 RID: 29862 RVA: 0x001377CF File Offset: 0x001359CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LeaveRaidScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020E6 RID: 8422
		// (get) Token: 0x060074A7 RID: 29863 RVA: 0x001377E1 File Offset: 0x001359E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LeaveRaidScRsp.Descriptor;
			}
		}

		// Token: 0x060074A8 RID: 29864 RVA: 0x001377E8 File Offset: 0x001359E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveRaidScRsp()
		{
		}

		// Token: 0x060074A9 RID: 29865 RVA: 0x001377F0 File Offset: 0x001359F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveRaidScRsp(LeaveRaidScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060074AA RID: 29866 RVA: 0x00137815 File Offset: 0x00135A15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveRaidScRsp Clone()
		{
			return new LeaveRaidScRsp(this);
		}

		// Token: 0x170020E7 RID: 8423
		// (get) Token: 0x060074AB RID: 29867 RVA: 0x0013781D File Offset: 0x00135A1D
		// (set) Token: 0x060074AC RID: 29868 RVA: 0x00137825 File Offset: 0x00135A25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060074AD RID: 29869 RVA: 0x0013782E File Offset: 0x00135A2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LeaveRaidScRsp);
		}

		// Token: 0x060074AE RID: 29870 RVA: 0x0013783C File Offset: 0x00135A3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LeaveRaidScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060074AF RID: 29871 RVA: 0x0013786C File Offset: 0x00135A6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060074B0 RID: 29872 RVA: 0x001378AB File Offset: 0x00135AAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060074B1 RID: 29873 RVA: 0x001378B3 File Offset: 0x00135AB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060074B2 RID: 29874 RVA: 0x001378BC File Offset: 0x00135ABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060074B3 RID: 29875 RVA: 0x001378F0 File Offset: 0x00135AF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060074B4 RID: 29876 RVA: 0x0013792E File Offset: 0x00135B2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LeaveRaidScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060074B5 RID: 29877 RVA: 0x0013795F File Offset: 0x00135B5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060074B6 RID: 29878 RVA: 0x00137968 File Offset: 0x00135B68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002C81 RID: 11393
		private static readonly MessageParser<LeaveRaidScRsp> _parser = new MessageParser<LeaveRaidScRsp>(() => new LeaveRaidScRsp());

		// Token: 0x04002C82 RID: 11394
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C83 RID: 11395
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04002C84 RID: 11396
		private uint retcode_;
	}
}
